package mobao;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@EnableFeignClients
@EnableDiscoveryClient
@Configuration
@EnableWebMvc
@SpringBootApplication
public class mobaoApplication {
    public static void main(String[] args) {
        SpringApplication.run(mobaoApplication.class, args);
//        new SpringApplicationBuilder(mobaoApplication.class).web(true).run(args);
    }

}
